export const INCREMENT_COUNTER = 'INCREMENT_COUNTER';
export const DECREMENT_COUNTER = 'DECREMENT_COUNTER';
export const UNDO_COUNTER = 'UNDO_COUNTER';
export const REDO_COUNTER = 'REDO_COUNTER';

export function increment() {
    console.log('[actions/index.js] ->increment');
    return {
        type: INCREMENT_COUNTER,
    };
}

export function decrement() {
    console.log('[actions/index.js] ->decrement');
    return {
        type: DECREMENT_COUNTER,
    };
}

export function undo() {
    console.log('[actions/index.js] ->undo');
    return {
        type: UNDO_COUNTER
    };
}

export function redo() {
    console.log('[actions/index.js] ->redo');
    return {
        type: REDO_COUNTER
    };
}
